explain working of transistor as a switc

visit shbcf.ru